import fsExtra from 'fs-extra';

export async function copy(src: string, dest: string) {
  return fsExtra.copy(src, dest, {
    overwrite: true,
  });
}

export function clearOutputDir(path: string) {
  fsExtra.removeSync(path);
  fsExtra.mkdirSync(path);
}
